package com.study.mike.common.schedule;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author KangHui
 * @Date 2022/7/26 10:29
 */
@Component
public class MySchedule {
    @Scheduled(cron = "0/8 * * * * ?")
    public void test() {
        System.out.println("hello");
    }
}
